import React from 'react';
class Banner extends  React.Component{
  constructor (props)
    {
      super();
      this.state={
        src:props.src,
        alt:props.alt
    };
    }
  render(){
    return (<img
      src={this.state.src}
      alt={this.state.alt}
      style={{ width: '100%', verticalAlign: 'top' }}
    />);
  }
}
export default Banner;